home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Sample Code / Image Compression Mgr / Inside Mac ICM Code / icm0.c < prev    next >
Encoding:
Text File  |  1994-12-04  |  460 b   |  28 lines  |  [TEXT/MPS ]

  1. /*
  2.   File:            icm0.c
  3.   Contains:        Generic Functions
  4.   Written by:    DTS and QT Engineering
  5.   Copyright:    © 1992-1994 by Apple Computer, Inc., all rights reserved.
  6.   Change History (most recent first):
  7.   <1>         12/4/94    khs        changed the format of the file to the new look and feel
  8.   To Do:
  9. */
  10.  
  11.  
  12. // INCLUDE FILES
  13. #include "icm.h"
  14.  
  15.  
  16. // FUNCTIONS
  17. void CheckError(OSErr error,
  18.                 Str255 displayString)
  19. {
  20.     if (error)
  21.     {
  22.         DebugStr(displayString);
  23.         ExitToShell();
  24.     }
  25. }
  26.  
  27.  
  28.